//
//  WYPriceRangeCell.m
//  CirclePush
//
//  Created by admin on 2018/5/8.
//  Copyright © 2018年 admin. All rights reserved.
//

#import "WYPriceRangeCell.h"
@interface WYPriceRangeCell()<UITextFieldDelegate>

@end


@implementation WYPriceRangeCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    [self setUpUI];
}
-(void)setUpUI
{
    [self.leftTextfield setBorderWithWidth:kLineHeight andColor:[UIColor grayColor]];
    self.leftTextfield.tag  =  1;
    self.leftTextfield.returnKeyType = UIReturnKeyDone;
    self.leftTextfield.delegate = self;
    
    
    
    [self.rightTextfield setBorderWithWidth:kLineHeight andColor:[UIColor grayColor]];
    self.rightTextfield.tag = 2;
    self.rightTextfield.returnKeyType = UIReturnKeyDone;
    self.rightTextfield.delegate = self;
    
}
-(BOOL)textFieldShouldReturn:(UITextField *)textField
{
    [textField resignFirstResponder];
    
    return YES;
}

@end
